package com.code.pattern.singleton.enums;

/**
 * @author: liyufei
 * @date: 2021-03-17 21:09
 */
public enum EnumSingleton {
    INSTANCE;

    EnumSingleton() {
        System.out.println("init");
    }

    public void print() {
        System.out.println("hello");
    }
}
